#import the lib
from arduino import Arduino

import time

#specify the port as an argument
my_board = Arduino('COM1')

#declare output pins as a list/tuple
my_board.output([9,13,])
s1=my_board.attachServo(9)
#perform operations
print "servo.read:",s1.read()
s1.write(80)
time.sleep(10)
#s1.write(10)
#time.sleep(2)
i=0
while(i<5):
    my_board.setHigh(13)
    time.sleep(1)
    my_board.setLow(13)
    time.sleep(1)
    i+=1
